complex integration and cauchy's theorem